import request from '@/utils/request';

export async function query(): Promise<any> {
  return request('/api/users');
}

export async function queryCurrent(): Promise<any> {
  return request('/api/currentUser');
}

export async function queryNotices(): Promise<any> {
  return request('/api/notices');
}
export async function getCurrent(): Promise<any> {
  return request('/api/services/app/Session/GetCurrentLoginInformations');
}
export async function getConfig(): Promise<any> {
  return request('/api/services/app/SysConfig/GetConfig');
}
